from django.conf.urls import url
from user import views
from django.contrib.auth.decorators import login_required
urlpatterns = [
    url(r"^register$",views.RegisterView.as_view(),name='register'),
    url(r"^active/(.*)$",views.active.as_view(),name='active'),
    url(r"^login$",views.login_view.as_view(),name='login'),
    url(r"^center/user_center_info.html$",(views.User_center_info_view.as_view()),name='info'),
    url(r"^center/user_center_order.html$",(views.User_center_order_view.as_view()),name='order'),
    url(r"^center/user_center_site.html$",(views.User_center_site_view.as_view()),name='site'),
     url(r"^logout$",views.logout_view.as_view(),name='logout'),
]